package com.zatech.cgnci.project.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("登录DTO")
public class CgnciLoginDTO {

    @ApiModelProperty("姓名")
    @NotBlank(message = "username cannot be null")
    private String username;

    @ApiModelProperty("工号")
    @NotBlank(message = "usercode cannot be null")
    private String usercode;
    
}